package com.woniu.sharepark.leasesystem.common.dto;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @ClassName: UserInfoDTO
 * @Description: 此对象用于接收百度云身份识别信息
 * @Author: Zongjie.Li
 * @Date: 2019/6/3
 * @Version: 1.0
 **/
@Component
public class UserInfoDTO {

    private String name;
    private String sex;
    private String card;
    private Date invalidateTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public Date getInvalidateTime() {
        return invalidateTime;
    }

    public void setInvalidateTime(Date invalidateTime) {
        this.invalidateTime = invalidateTime;
    }


    @Override
    public String toString() {
        return "UserInfoDTO{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", card='" + card + '\'' +
                ", invalidateTime=" + invalidateTime +
                '}';
    }
}
